package com.sskj.lib.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Q-Kang on 2019/1/8.
 */

public class UserBean {


    /**
     * list : [{"mobile":"18538705347","zuigao":"100.7500","leiji":"400.0000","loss":"100.0000","num":"4","income":"-98.5057","ranking":2}]
     * has_tpwd : false
     * balance_pb : 101.4943
     * balance_cny : 0
     * balance_usdt : 0
     * realname : 疙瘩
     * nickname :
     * upic : /Uploads/headimg/2019-01-21/5c4590e64b16d50743.jpg
     * reg_time : 1548050760
     * is_daili : 0
     * apply_info : {"id":"1","uid":"150","create_time":"2019-01-21 19:46:59","update_time":"1971-01-01 00:00:00","name":"疙瘩","mobile":"疙瘩","card1":"/Uploads/headimg/2019-01-21/5c45b121b960b63364.png","card2":"/Uploads/headimg/2019-01-21/5c45b12d24d5779979.jpg","status":"1","msg":""}
     */

    private boolean has_tpwd;
    private String balance_pb;
    private String userid;
    private String balance_cny;
    private String balance_usdt;
    private String realname;
    private String nickname;
    private String upic;
    private String reg_time;
    private String is_daili;
    private ApplyInfoBean apply_info;
    private List<ListBean> list;


    public String getUserid() {
        return userid == null ? "" : userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public boolean isHas_tpwd() {
        return has_tpwd;
    }

    public void setHas_tpwd(boolean has_tpwd) {
        this.has_tpwd = has_tpwd;
    }

    public String getBalance_pb() {
        return balance_pb == null ? "" : balance_pb;
    }

    public void setBalance_pb(String balance_pb) {
        this.balance_pb = balance_pb;
    }

    public String getBalance_cny() {
        return balance_cny == null ? "" : balance_cny;
    }

    public void setBalance_cny(String balance_cny) {
        this.balance_cny = balance_cny;
    }

    public String getBalance_usdt() {
        return balance_usdt == null ? "" : balance_usdt;
    }

    public void setBalance_usdt(String balance_usdt) {
        this.balance_usdt = balance_usdt;
    }

    public String getRealname() {
        return realname == null ? "" : realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getNickname() {
        return nickname == null ? "" : nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUpic() {
        return upic == null ? "" : upic;
    }

    public void setUpic(String upic) {
        this.upic = upic;
    }

    public String getReg_time() {
        return reg_time == null ? "" : reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public String getIs_daili() {
        return is_daili == null ? "" : is_daili;
    }

    public void setIs_daili(String is_daili) {
        this.is_daili = is_daili;
    }

    public ApplyInfoBean getApply_info() {
        return apply_info;
    }

    public void setApply_info(ApplyInfoBean apply_info) {
        this.apply_info = apply_info;
    }

    public List<ListBean> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ApplyInfoBean {
        /**
         * id : 1
         * uid : 150
         * create_time : 2019-01-21 19:46:59
         * update_time : 1971-01-01 00:00:00
         * name : 疙瘩
         * mobile : 疙瘩
         * card1 : /Uploads/headimg/2019-01-21/5c45b121b960b63364.png
         * card2 : /Uploads/headimg/2019-01-21/5c45b12d24d5779979.jpg
         * status : 1
         * msg :
         */

        private String id;
        private String uid;
        private String create_time;
        private String update_time;
        private String name;
        private String mobile;
        private String card1;
        private String card2;
        private String status;
        private String msg;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUid() {
            return uid == null ? "" : uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getCreate_time() {
            return create_time == null ? "" : create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time == null ? "" : update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMobile() {
            return mobile == null ? "" : mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getCard1() {
            return card1 == null ? "" : card1;
        }

        public void setCard1(String card1) {
            this.card1 = card1;
        }

        public String getCard2() {
            return card2 == null ? "" : card2;
        }

        public void setCard2(String card2) {
            this.card2 = card2;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getMsg() {
            return msg == null ? "" : msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

    public static class ListBean {
        /**
         * mobile : 18538705347
         * zuigao : 100.7500
         * leiji : 400.0000
         * loss : 100.0000
         * num : 4
         * income : -98.5057
         * ranking : 2
         */

        private String mobile;
        private String zuigao;
        private String leiji;
        private String loss;
        private String num;
        private String income;
        private String ranking;

        public String getMobile() {
            return mobile == null ? "" : mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getZuigao() {
            return zuigao == null ? "" : zuigao;
        }

        public void setZuigao(String zuigao) {
            this.zuigao = zuigao;
        }

        public String getLeiji() {
            return leiji == null ? "" : leiji;
        }

        public void setLeiji(String leiji) {
            this.leiji = leiji;
        }

        public String getLoss() {
            return loss == null ? "" : loss;
        }

        public void setLoss(String loss) {
            this.loss = loss;
        }

        public String getNum() {
            return num == null ? "" : num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getIncome() {
            return income == null ? "" : income;
        }

        public void setIncome(String income) {
            this.income = income;
        }

        public String getRanking() {
            return ranking == null ? "" : ranking;
        }

        public void setRanking(String ranking) {
            this.ranking = ranking;
        }
    }
}
